package com.whsm.admin.service;

import com.whsm.admin.domain.City;
import com.whsm.admin.mapper.CityMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CityService {

    @Autowired
    CityMapper cityMapper;


    public City getCity(Long id){
        City byIdCity = cityMapper.findByIdCity(id);
        return byIdCity;
    }
}
